package com.blrs.domain;

import com.blrs.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 企业满意度调查对象 enterprise_satisfied
 */
public class EnterpriseSatisfied extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 企业ID */
    private String enterpriseId;

    /** 调查分类 */
    private String surveyType;

    /** 调查时间 */
    private Date investigationTime;

    /** 调查人 */
    private String investigator;

    /** 被调查人 */
    private String respondent;

    /** 满意度评分 */
    private Integer satisfactionScore;

    /** 纠正预防 */
    private String correction;

    /** 责任人 */
    private String responsiblePerson;

    /**
     * 责任人id
     */
    private String responsiblePersonId;

    //跟进id
    private String recordId;

    public String getRecordId() {
        return recordId;
    }

    public void setRecordId(String recordId) {
        this.recordId = recordId;
    }

    public String getResponsiblePersonId() {
        return responsiblePersonId;
    }

    public void setResponsiblePersonId(String responsiblePersonId) {
        this.responsiblePersonId = responsiblePersonId;
    }

    /** 关闭时间 */
    private Date closeTime;

    /** 备注 */
    private String remark;



    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setEnterpriseId(String enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    public String getEnterpriseId() {
        return enterpriseId;
    }

    public void setSurveyType(String surveyType) {
        this.surveyType = surveyType;
    }

    public String getSurveyType() {
        return surveyType;
    }

    public void setInvestigationTime(Date investigationTime) {
        this.investigationTime = investigationTime;
    }

    public Date getInvestigationTime() {
        return investigationTime;
    }

    public void setInvestigator(String investigator) {
        this.investigator = investigator;
    }

    public String getInvestigator() {
        return investigator;
    }

    public void setRespondent(String respondent) {
        this.respondent = respondent;
    }

    public String getRespondent() {
        return respondent;
    }

    public void setSatisfactionScore(Integer satisfactionScore) {
        this.satisfactionScore = satisfactionScore;
    }

    public Integer getSatisfactionScore() {
        return satisfactionScore;
    }

    public void setCorrection(String correction) {
        this.correction = correction;
    }

    public String getCorrection() {
        return correction;
    }

    public void setResponsiblePerson(String responsiblePerson) {
        this.responsiblePerson = responsiblePerson;
    }

    public String getResponsiblePerson() {
        return responsiblePerson;
    }

    public void setCloseTime(Date closeTime) {
        this.closeTime = closeTime;
    }

    public Date getCloseTime() {
        return closeTime;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getRemark() {
        return remark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("enterpriseId", getEnterpriseId())
            .append("surveyType", getSurveyType())
            .append("investigationTime", getInvestigationTime())
            .append("investigator", getInvestigator())
            .append("respondent", getRespondent())
            .append("satisfactionScore", getSatisfactionScore())
            .append("correction", getCorrection())
            .append("responsiblePerson", getResponsiblePerson())
            .append("closeTime", getCloseTime())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
